diff options
Diffstat (limited to 'src/app/(main)/websites/[websiteId]/layout.tsx')
| -rw-r--r-- | src/app/(main)/websites/[websiteId]/layout.tsx | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/src/app/(main)/websites/[websiteId]/layout.tsx b/src/app/(main)/websites/[websiteId]/layout.tsx new file mode 100644 index 0000000..67595e9 --- /dev/null +++ b/src/app/(main)/websites/[websiteId]/layout.tsx @@ -0,0 +1,21 @@ +import type { Metadata } from 'next'; +import { WebsiteLayout } from '@/app/(main)/websites/[websiteId]/WebsiteLayout'; + +export default async function ({ + children, + params, +}: { + children: any; + params: Promise<{ websiteId: string }>; +}) { + const { websiteId } = await params; + + return <WebsiteLayout websiteId={websiteId}>{children}</WebsiteLayout>; +} + +export const metadata: Metadata = { + title: { + template: '%s | Umami', + default: 'Websites | Umami', + }, +}; |